/**
 * 
 */
package com.p2p.front.result;

import com.p2p.base.model.Money;
import com.p2p.base.result.BaseResult;

/**
 * @author ruiqi
 *
 */
public class UserTenderResult extends BaseResult{

	private Money tenderAmount;
	
	private boolean tenderFull;

	public boolean isTenderFull() {
		return tenderFull;
	}

	public void setTenderFull(boolean tenderFull) {
		this.tenderFull = tenderFull;
	}

	public Money getTenderAmount() {
		return tenderAmount;
	}

	public void setTenderAmount(Money tenderAmount) {
		this.tenderAmount = tenderAmount;
	}
	
	public enum ResultCodeEnum{
		tender_parameters_error("参数错误"),
		tender_system_exception("系统异常"),
		tender_common_error("未知错误"),
		tender_status_error("投标状态错误"),
		tender_amount_error("投标金额错误"),
		tender_allready_full("投标已满"),
		tender_auto_run("自动投标进行中"),
		tender_balance_enough("余额不足"),
		tender_account_exist("资金账户不存在"),
		;
		
		private String desc;
		
		private ResultCodeEnum(String desc) {
			this.desc = desc;
		}
		public String getDesc() {
			return desc;
		}
		

	}
	
}
